window.Promise = Promise
import "@babel/polyfill"
import 'element-ui/lib/theme-chalk/index.css'
import Vue from 'vue'
// import router from './router/route'
import element from "@/plugin/element"
import VueCookie from "vue-cookies"
import "@/assets/winterActivity/css/activity.css"



Vue.use(element)
Vue.use(VueCookie)
Vue.prototype.$tips = (options)=> { 
  let div = document.createElement("div");
  div.className = `tip-color tip-${options.type}`;
  div.innerHTML = options.content;
  document.body.appendChild(div);
  setTimeout(function(){
      document.body.removeChild(div);
  }, options.time || 1500);
}
import App from './App'
window.bus = new Vue();
new Vue({
  el: '#app',
  // router,
  render: h => h(App),
});